package com.tinygone.productserver.entity;

/**
 * @author liqigang
 */

public enum ProductStatusEnum {
    UP(0, "在架"),
    DOWN(1, "下架");

    private final Integer code;
    private String desc;

    ProductStatusEnum(Integer code) {
        this.code = code;
    }

    ProductStatusEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return code;
    }
}
